package com.sctvcloud.longchang.ui.adapter.holder;

import android.content.Context;
import android.view.View;

import com.ruihang.generalibrary.ui.widget.CustomFontTextView;
import com.sctvcloud.longchang.R;
import com.sctvcloud.longchang.beans.TelTitle;
import com.sctvcloud.longchang.beans.Titles;

import butterknife.BindView;
import butterknife.ButterKnife;

public class TelLetterHolder extends BaseAbsHolder<TelTitle> {
    @BindView(R.id.letter)
    protected CustomFontTextView title;

    public TelLetterHolder(Context context, View itemView) {
        super(context, itemView);
    }

    @Override
    protected void initInject() {
        ButterKnife.bind(this, itemView);
    }

    @Override
    public void setData(TelTitle titles) {
        title.setText(titles.getLetter());
    }
}